package com.spring.service;

import org.springframework.beans.factory.BeanNameAware;
import org.springframework.stereotype.Service;

//@Service
public class UserService implements BeanNameAware {

	private String userServiceName;

	public void test1(){
		System.out.println("userService.test1()");
	}

	@Override
	public void setBeanName(String name) {
		this.userServiceName = name;
	}

	public String getUserServiceName() {
		return userServiceName;
	}

	public void setUserServiceName(String userServiceName) {
		this.userServiceName = userServiceName;
	}
}
